From: James D. Forrester Date: Fri, 15 Sep 2017 22:14:05 +0000 (-0700) Subject: EditPage::getCheckboxes: Stop respecting wgUseMediaWikiUIEverywhere X-Git-Tag: 1.31.0-rc.0~2028^2 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=604177140483ac1f044cdd9da5fe87a9905986df;p=lhc%2Fweb%2Fwiklou.git EditPage::getCheckboxes: Stop respecting wgUseMediaWikiUIEverywhere Change-Id: Ie61c523290c0eef324870f82a90fa852a57aac23 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 12966e5309..248378c1e8 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -4185,8 +4185,6 @@ class EditPage { * @return array */ public function getCheckboxes( &$tabindex, $checked ) { - global $wgUseMediaWikiUIEverywhere; - $checkboxes = []; $checkboxesDef = $this->getCheckboxesDefinition( $checked ); @@ -4221,10 +4219,6 @@ class EditPage { ' ' . Xml::tags( 'label', $labelAttribs, $label ); - if ( $wgUseMediaWikiUIEverywhere ) { - $checkboxHtml = Html::rawElement( 'div', [ 'class' => 'mw-ui-checkbox' ], $checkboxHtml ); - } - $checkboxes[ $legacyName ] = $checkboxHtml; }